package com.springlog.demo.facade;

public class FacadeClient {
    private BadRoomLight badRoomLight = new BadRoomLight();
    private HallLight hallLight = new HallLight();
    private LivingRoomLight livingRoomLight = new LivingRoomLight();

    public void on() {
        badRoomLight.on();
        hallLight.on();
        livingRoomLight.on();
    }

    public void off() {
        badRoomLight.off();
        hallLight.off();
        livingRoomLight.off();
    }
}
